#ifndef CLIPBOARD_H
#define CLIPBOARD_H

#include <QObject>
#include <QClipboard>
#include <QApplication>
#include <QVariant>
#include <QTextEdit>
#include <QDebug>

class ClipBoard : public QObject
{
    Q_OBJECT
public:
    explicit ClipBoard(QObject *parent = 0);
    Q_INVOKABLE void copy(QVariant text);

private:
    void clear();
     QClipboard *clipboard;
     QTextEdit *textEdit;

signals:
    
public slots:
    
};

#endif // CLIPBOARD_H
